import java.util.Arrays;

public class DailyQuestion {
  public static void main(String[] args) {
    int [] array = new int[]{10,4,2,7,5,19,11,33,28};
    for (int i = 0; i < array.length; i++) {
      for (int j = i + 1; j < array.length; j++) {
        if (array[i] > array[j]) {
          int temp = array[i];
          array[i] = array[j];
          array[j] = temp;
        }
      }
    }
    System.out.println(Arrays.toString(array));
  }
}
